/*
 *
 *  projector
 *
 *  Created by Ilya Spivakov on 10/29/05.
 *  Copyright 2005 __MyCompanyName__. All rights reserved.
 *
 */

#include "free_text.h"

FreeTextWidget::FreeTextWidget(QWidget *parent)
        : QWidget(parent)
{
    main_grid=new QGridLayout(this);
    input_text=new QLineEdit;
    main_grid->addWidget(input_text,0,0);
    show_text=new QPushButton("Show");
    main_grid->addWidget(show_text,0,1);
    connect(show_text,SIGNAL(clicked()),this,SLOT(send_text()));




}

void FreeTextWidget::send_text()
{
    emit MainTextChanged(input_text->text());
}


